﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MyOA.DAL;
using MyOA.Model;

namespace MyOA.BLL
{
    public class RecycleBinManage
    {
        RecycleBinService recycleBin = new RecycleBinService();
        public IList<FileInfo> GetAllDeletedFiles()
        {
            return recycleBin.GetAllDeletedFiles();
        }
        public bool ModifyFileInfoById(int fileid)
        {
            return recycleBin.ModifyFileInfoById(fileid);
        }
        public bool DeleteFileInfoByFileId(int fileId)
        {
            return recycleBin.DeleteFileInfoByFileId(fileId);
        }
    }
}
